package com.cloud.phone.manager

import com.blankj.utilcode.util.SPUtils
import com.cloud.phone.constants.Constants

/**
 * @auth: njb
 * @date: 2024/6/27 11:50
 * @desc: 描述
 */
object UserInfoManager {
    fun setAppIsUpdate(isUpdate:Boolean){
        SPUtils.getInstance().put(Constants.APP_IS_UPDATE,isUpdate)
    }

    fun getAppIsUpdate():Boolean{
        return SPUtils.getInstance().getBoolean(Constants.APP_IS_UPDATE,false)
    }

    fun setIsPrivacy(isAgree:Boolean){
        SPUtils.getInstance().put(Constants.FLY_INPUT_IS_AGREE,isAgree)
    }

    fun getIsPrivacy():Boolean{
        return SPUtils.getInstance().getBoolean(Constants.FLY_INPUT_IS_AGREE,false)
    }
}